package org.thanos.demo.entity;

import lombok.Data;

@Data
public class MessageEvent<T> {

    private String topic;
    private T content;

    public MessageEvent() {
        super();
    }

    public MessageEvent(String topic, T content) {
        this.topic = topic;
        this.content = content;
    }
}
